<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>表格样式</title>
    <link rel="stylesheet" href="css/bootstrap.css">
    <style>


    </style>
</head>
<body>
<table class="table table-hover">
    <thead class="thead-light">
    <th>序号</th>
    <th>姓名</th>
    <th>性别</th>
    <th>年龄</th>
    </thead>

    <tbody>
    <tr>
        <td>1</td>
        <td>starmao</td>
        <td>男</td>
        <td class="bg-danger">31</td>
    </tr>
    <tr>
        <td>2</td>
        <td>starmao</td>
        <td>男</td>
        <td>31</td>
    </tr>
    <tr>
        <td>3</td>
        <td>starmao</td>
        <td>男</td>
        <td>31</td>
    </tr>
    <tr>
        <td>4</td>
        <td>starmao</td>
        <td>男</td>
        <td>31</td>
    </tr>
    </tbody>
</table>

<script src="node_modules/jquery/dist/jquery.slim.js"></script>
<script src="js/bootstrap.bundle.js"></script>
</body>
</html>